<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="../../pccommon.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="${staticPath}/js/webuploader/webuploader.css" />
<link type="text/css" rel="stylesheet" href="${staticPath}/js/webuploader/style.css" />
<script type="text/javascript" src="${staticPath}/js/webuploader/webuploader.js"></script>
<script type="text/javascript" src="${staticPath}/js/app/center/pccenter.js"></script>
<script type="text/javascript" src="${staticPath}/js/app/center/pcuploader.js"></script>
<link type="text/css" rel="stylesheet" href="${staticPath}/pccss/grzx.css" />
<script type="text/javascript" src="${staticPath}/js/jquery-qrcode-master/jquery.qrcode.min.js"></script>
<title>个人中心</title>
</head>
<body>
	<div id="wrapper">
		<c:import url="../layout/header2.jsp"></c:import>
		<div id="main">
			<div id="mainw">
				<c:import url="../layout/leftNav.jsp">
					<c:param name="leftNav" value="member" />
				</c:import>
				<div class="mainw_right">
					<div class="mainw_right1">
						<img src="${staticPath}/pcimages/a1.png" />
						<h1>个人信息</h1>
					</div>
					<div id="tabwrap">
						<a href="javascript:navigate_tabs('a','first-tab');" class="buttons" id="first-tab">基本信息</a>
						<a href="javascript:navigate_tabs('b','second-tab');" class="buttons" id="second-tab">头像照片</a>
						<a href="javascript:navigate_tabs('c','third-tab');" class="buttons" id="third-tab">推广海报</a>
						<br clear="all" />
						<div id="tabbody">
							<div class="a">
								<div class="mainw_right2">
									<ul>
										<li>
											<p>昵称：</p>
											<p id="nickname">${name }</p>
											<a href="javascript:;" class="tc">修改</a>
										</li>
										<li>
											<p>性别：</p>
											<p id="sexp"><c:if test="${sex == 0 }">保密</c:if><c:if test="${sex == 1 }">男</c:if><c:if test="${sex == 2 }">女</c:if></p>
											<input type="hidden" name="sex" id="sex" value="${sex }" />
											<a href="javascript:;" class="tc2">修改</a>
										</li>
										<li>
											<p>等级：</p>
											<p>${dealerlevel }</p>
											<c:if test="false">
												<a href="javascript:gotoHtml('/dealerApply/choose.htm')">我要升级</a>
											</c:if>
										</li>
										<li>
											<p>手机号码：</p>
											<p>${mobile }</p>
											<a href="javascript:gotoHtml('/setting/verify.htm?type=0&verify=0')">修改</a>
										</li>
										<li>
											<p>邮箱地址：</p>
											<p>${email }</p>
											<input type="hidden" id="email" name="email" value="${email }"/>
											<a href="javascript:gotoHtml('/setting/verify.htm?type=1&verify=0')">
												<c:if test="${email == '' || email == null }">
													绑定
												</c:if>
												<c:if test="${email != '' && email != null }">
													修改
												</c:if>
											</a>
										</li>
									</ul>
								</div>
								<div class="popup" id="popup1">
									<div class="top_nav" id='top_nav'>
										<div align="center">
											<span>请输入新昵称</span>
											<a class="guanbi"></a>
										</div>
									</div>
									<div class="min">
										<div class="tc_login">
											<div class="right">
												<div align="center">
													<input type="text" name="nick" id="nick" value="${name }"/>
												</div>
												<div align="center">
													<input type="submit" id="editname" class="button" value="确定" />
												</div>
											</div>
										</div>
									</div>
								</div>
								<div class="popup" id="popup2">
									<div class="top_nav" id='top_nav'>
										<div align="center">
											<span>请选择性别</span>
											<a class="guanbi"></a>
										</div>
									</div>
									<div class="min">
										<div class="tc_login">
											<div class="right">
												<div align="center" style="height:40px;">
													<input type="radio" id="sex1" name="sex" style="width: 15px; height: 15px; float: left; margin-left: 130px;" value="1"
														<c:if test="${sex == '1' }">checked</c:if> />
													<label style="float: left; margin-top: 10px;" for="sex1">男</label>
													<input type="radio" id="sex2" name="sex" style="width: 15px; height: 15px; float: left; margin-left: 50px;" value="2"
														<c:if test="${sex == '2' }">checked</c:if> />
													<label style="float: left; margin-top: 10px;" for="sex2">女</label>
													<input type="radio" id="sex0" name="sex" style="width: 15px; height: 15px; float: left; margin-left: 50px;" value="0"
														<c:if test="${sex == '0' }">checked</c:if> />
													<label style="float: left; margin-top: 10px;" for="sex0">保密</label>
												</div>
												<div align="center">
													<input type="submit" id="editsex" class="button" value="确定"/>
												</div>
											</div>
										</div>
									</div>
								</div>

							</div>
							<div class="b">
								<div class="mainw_right2">
									<ul>
										<li>
											<p>选择一张您喜欢的照片，尺寸不小于200*200，图片大小不超过3M，图片格式为：jpg/png/gif</p>
										</li>
										<li>
											<div id="uploader-demo">
												<div id="picker" style="width:80px;height:36px;">选择图片</div>
												<!--用来存放item-->
												<div id="fileList" class="uploader-list"></div>
											</div>
										</li>
									</ul>
								</div>
							</div>
							<div class="c">
								<div class="mainw_right2">
									<ul>
										<li>
											<p>当前我的网店为：${prefix }<span id="domainspan">${domain }</span>${suffix }</p>
											<input type="hidden" name="domain" id="domain" value="${domain }" />
											<a href="javascript:;" class="tc3">修改</a>
											<input type="hidden" name="url" id="url" value="${url }" />
										</li>
										<li>
											<p>当前我的APP为：${prefix }<span id="domainspan">${domain }</span>${suffix }/app.html</p>
										</li>
										<li>
											 <img alt="这是二维码" src="<%=appPath%>/dealer/getQrcode.htm?content=${url}&width=200&height=200" />
										</li>
									</ul>
								</div>
								<div class="popup" id="popup3">
									<div class="top_nav" id='top_nav'>
										<div align="center">
											<span>请输入新的二级域名</span>
											<a class="guanbi"></a>
										</div>
									</div>
									<div class="min">
										<div class="tc_login">
											<div class="right">
												<div align="center">
													<input type="text" name="newdomain" id="newdomain"/>
												</div>
												<div style="align:center;height:20px;color:red;padding:10 0 0 88;"><span id="msg"></span></div>
												<div align="center">
													<input type="submit" id="editdomain" class="button" value="确定"/>
												</div>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<c:import url="../layout/footer.jsp"></c:import>
	</div>
</body>
</html>